Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.thumbnail.url--urlpatterns

This contribution is part of XML component org.nuxeo.ecm.platform.thumbnail.url inside nuxeo-thumbnail-6.0.jar

Extension Point

Extension point urlpatterns of component URLService.

Contributed Items

  • <urlPattern enabled="true" name="downloadThumbnail">
          <defaultURLPolicy>false</defaultURLPolicy>
          <needBaseURL>true</needBaseURL>
          <needRedirectFilter>false</needRedirectFilter>
          <needFilterPreprocessing>true</needFilterPreprocessing>
          <codecName>downloadThumbnail</codecName>
          <actionBinding>#{thumbnailManager.downloadThumbnail}</actionBinding>
          <documentViewBinding>
            #{restHelper.documentView}
          </documentViewBinding>
          <newDocumentViewBinding>
            #{restHelper.newDocumentView}
          </newDocumentViewBinding>
        </urlPattern>

XML Source

<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService">
    <urlPattern enabled="true" name="downloadThumbnail">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>false</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>downloadThumbnail</codecName>
      <actionBinding>#{thumbnailManager.downloadThumbnail}</actionBinding>
      <documentViewBinding>
        #{restHelper.documentView}
      </documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.newDocumentView}
      </newDocumentViewBinding>
    </urlPattern>
  </extension>